.life {
  padding: 10px 5px;
  width: 100%;
  height: auto;
  background-image: linear-gradient(141deg, #9fb8ad 0%, #1fc8db 51%, #2cb5e8 75%);

  .king_body_kuai {
    width: 90%;
    height: 40vw;
    background-color: #fd6a7f;
    border-radius: 8px;
    color: aliceblue;
    font-weight: 600;
    text-align: center;
    font-size: 20px;
    padding-top: 5vw;
    margin: 20px auto;

    p {
      margin-bottom: 5px;
    }

    .king_body_icon {
      font-size: 40px;
      margin-bottom: 4vw;
    }
  }

  .life_div {
    width: 90%;
    height: 60px;
    background: #ffffff;
    margin: 0 auto;
    margin-bottom: 20px;
    border-radius: 10px;
    display: flex;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

    img {
      width: 50px;
      height: 50px;
      border-radius: 4px;
      margin: 5px;
    }

    .text_life {
      width: 80%;
      height: 60px;
      padding: 0 35px;
      font-family: "Arial";
      font-weight: 600;

      h2,
      p {
        margin: 0;
      }

      p {
        height: 22px;
        /*超出部分隐藏*/
        text-overflow: ellipsis;
        /* 超出部分显示省略号 */
        white-space: nowrap;
        overflow: hidden;
      }

    }
  }
}